package cn.com.bonc.khjy.date.mapper.dataSource3;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
public interface CommonMapper3 {

    @Select("SELECT CONTACT_NAME FROM epm_contact_info WHERE CONTACT_ID = #{contactorId}")
    String getContactorName( String contactorId );

    @Select("SELECT CONTACT_ID FROM epm_contact_info")
    @ResultType(String.class)
    List<String> getAllContactorId();

    @Select("SELECT INTER_TOPTIC FROM epm_contact_access ")
    @ResultType(String.class)
    List<String> getAllContactorTopic();
}
